<template>
  <div id="app">


		<!-- zcBanner 图片 -->

		<!-- content 内容 -->
		<router-view v-wechat-title="$route.meta.title" v-if="isRouterAlive" />


  </div>
</template>

<script>

	export default {
	  name: 'App',
	  created () {
			console.log('app-create');
	  },
		provide () {
			return {
				reload: this.reload
			}
		},
		data() {
			return {
				isRouterAlive: true
			}
		},
		methods: {
			reload() {
				this.isRouterAlive = false;
				this.$nextTick(function(){
					this.isRouterAlive = true;
				})
			}
		},
	  components:{

	  }
	}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: start;
  color: #2c3e50;
  background-color: #f5f5f5;
	min-width: 1200px!important;
  /* margin-top: 60px; */
}
</style>
